export default {
  namespaced: true,
  state: {
    num: 0,
    tel: '17700000000'
  },
  mutations: {
    SET_NUM: (state, num) => {
      state.num = num
    }
  },
  actions: {
    addNum({ commit, state, dispatch }) {
      state.num += 20
      commit('SET_NUM', state.num)
    }
  }
}
